package com.sanben.tag.data.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * @author cyh
 * @description: 标签表 Dto
 * @since 2020-08-18
 */

@Data
@Accessors(chain = true)
@ApiModel(value = "TagDto对象", description = "标签表")
public class TagDto implements Serializable {

private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "主键")
                                    @TableId(value = "id", type = IdType.AUTO)
                                                        private Integer id;
            @ApiModelProperty(value = "标签名")
                                    private String name;
            @ApiModelProperty(value = "排序")
                                    private Integer sort;
            @ApiModelProperty(value = "创建人")
                                    private Integer createId;
            @ApiModelProperty(value = "创建时间")
                                    private LocalDateTime createTime;
            @ApiModelProperty(value = "修改人")
                                    private Integer updateId;
            @ApiModelProperty(value = "修改时间")
                                    private LocalDateTime updateTime;
            @ApiModelProperty(value = "是否删除，0：未删除 1：已删除")
                                    private Integer delete;


        }
